package com.ruoyi.base.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车辆司机信息
对象 gas_car_info
 * 
 * @author h w
 * @date 2022-12-09
 */
public class CarInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车辆ID */
    private Long carId;

    /** 车辆编号 */
    @Excel(name = "车辆编号")
    private String carCode;

    /** 车头号码 */
    @Excel(name = "车头号码")
    private String carHeadNum;

    /** 车身号码 */
    @Excel(name = "车身号码")
    private String carBodyNum;

    /** 司机名 */
    @Excel(name = "司机名")
    private String driverName;

    /** 司机电话 */
    @Excel(name = "司机电话")
    private String driverTele;

    /** 所属经销商ID */
    @Excel(name = "所属经销商ID")
    private Long customerId;

    /** 所属经销商名 */
    @Excel(name = "所属经销商名")
    private String customerName;

    public void setCarId(Long carId) 
    {
        this.carId = carId;
    }

    public Long getCarId() 
    {
        return carId;
    }
    public void setCarCode(String carCode) 
    {
        this.carCode = carCode;
    }

    public String getCarCode() 
    {
        return carCode;
    }
    public void setCarHeadNum(String carHeadNum) 
    {
        this.carHeadNum = carHeadNum;
    }

    public String getCarHeadNum() 
    {
        return carHeadNum;
    }
    public void setCarBodyNum(String carBodyNum) 
    {
        this.carBodyNum = carBodyNum;
    }

    public String getCarBodyNum() 
    {
        return carBodyNum;
    }
    public void setDriverName(String driverName) 
    {
        this.driverName = driverName;
    }

    public String getDriverName() 
    {
        return driverName;
    }
    public void setDriverTele(String driverTele) 
    {
        this.driverTele = driverTele;
    }

    public String getDriverTele() 
    {
        return driverTele;
    }
    public void setCustomerId(Long customerId) 
    {
        this.customerId = customerId;
    }

    public Long getCustomerId() 
    {
        return customerId;
    }
    public void setCustomerName(String customerName) 
    {
        this.customerName = customerName;
    }

    public String getCustomerName() 
    {
        return customerName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("carId", getCarId())
            .append("carCode", getCarCode())
            .append("carHeadNum", getCarHeadNum())
            .append("carBodyNum", getCarBodyNum())
            .append("driverName", getDriverName())
            .append("driverTele", getDriverTele())
            .append("customerId", getCustomerId())
            .append("customerName", getCustomerName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
